<?php
array_walk_recursive($_GET,'sionwi_filter');
array_walk_recursive($_POST,'sionwi_filter');
array_walk_recursive($_COOKIE,'sionwi_filter');
$_REQUEST = array_merge($_GET,$_POST);
define('NO_CACHE_RUNTIME',TRUE);
define('THINK_PATH',dirname(__FILE__).'/ThinkPHP');
define('APP_PATH',dirname(__FILE__).'/Home');
require_once THINK_PATH.'/ThinkPHP.php';

App::run();
function sionwi_filter(&$item, $key) {
    $item = addslashes(stripslashes($item));
}
